package she_ji_mo_shi.dan_li.impl;

import she_ji_mo_shi.dan_li.LoadBalancer;

public class LazySingletonLoadBalancerV2 implements LoadBalancer {
    private static class InstanceHolder {
        private static final LazySingletonLoadBalancerV2 INSTANCE = new LazySingletonLoadBalancerV2();
    }
    private LazySingletonLoadBalancerV2(){};
    public static LoadBalancer getInstance() {
        return InstanceHolder.INSTANCE;
    }
    @Override
    public void addServer(String server) {

    }

    @Override
    public void removeServer(String server) {

    }

    @Override
    public String getServer() {
        return "";
    }
}
